package com.changgou.config.service.impl;

import com.changgou.config.dao.AreasMapper;
import com.changgou.config.pojo.Areas;
import com.changgou.config.service.AreasService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AreasServiceImpl implements AreasService {

    @Autowired
    private AreasMapper areasMapper;

    /**
     * 根据城市ID查询
     * @param cityid
     * @return
     */
    @Override
    public List<Areas> findById(String cityid){
        return areasMapper.findById(cityid);
    }

}
